/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.composition.service.imp;

import za.ac.cput.composition.model.Vodacom;
import za.ac.cput.composition.service.PhoneService;

/**
 *
 * @author DieFStaL
 */
public class PhoneServiceImpl implements PhoneService
{
    @Override
    public boolean call(Vodacom vodacom, Vodacom fourU)
    {
        System.out.println(vodacom.getNumber() + " Attempting to call " + fourU.getNumber());
        
        if(vodacom.resp())
        {
            return true;
        }
        else
        {
            return false;
        }
    }
}
